Articles by Fiodar Sazanavets

Using a Distributed Redis Cache in .NET Aspire

Let’s go back to the subject of hosting distributed Redis cache in .NET Aspire. Let’s start by going through a quick recap of what distributed caching and locking are.

Integrating .NET Aspire With Azure Storage

Today, we will talk about integrating our Aspire apps with Azure Storage. We will start by looking at Azure Table Storage and then move on to Blob Storage.

Hosting MongoDB in .NET Aspire

Today, you will learn how to integrate your distributed .NET Aspire application with MongoDB by using Aspire Components. We will walk through an example application that populates a MongoDB instance with some data and retrieves the data inside one of the hosted services.

Using SQL Database Components in .NET Aspire

We previously looked at Aspire components, special libraries used by .NET Aspire to wrap commonly used applications and infrastructure components. These libraries consist of containers, but it’s simpler to use them instead of using containers directly. After all, Aspire components were specifically designed to work in Aspire. Today, we will look at the components that represent SQL databases.

Hosting a Keycloak Container in .NET Aspire

In the previous article, we discussed enabling single sign-on authentication in .NET Aspire. Today, you will learn how to do it using a Keycloak container.

A Guide To Securing .NET Aspire Apps

While using .NET Aspire, you will want to know how to secure your dashboard. After all, you don’t want to allow anyone to manage your applications and view their internal logs. There is a separate mechanism for securing the dashboard and this is what we will also cover today.

Integration-testing .NET Aspire Apps

.NET Aspire doesn’t only allow developers to build distributed orchestrated applications relatively easily compared to other equivalent technologies, but it also makes it easy to write integration tests against these applications.

Why .NET Aspire Components Are Powerful

As well as being able to orchestrate .NET projects, Aspire can also orchestrate the so-called Aspire components. These components are special libraries that add popular packages to our distributed application. Today, we will talk about Aspire components, why they are useful, and how to add them to our applications.

How .NET Aspire Does Health Checks And Why It Matters

When we look at the Resources tab of the .NET Aspire dashboard, we find the State column in the table displayed there. This column shows the current status of each service managed by the .NET Aspire. Ideally, we want each of these services to be shown as Running with the green tick next to it

Monitoring Apps Inside .NET Aspire

We will talk about the process of monitoring applications orchestrated by .NET Aspire. But before we do it, let’s remind ourselves why monitoring is something we absolutely must have in our applications.